Skip to content

Rewrite amendable-cli in Rust - #1

Merged
fangpenlin merged 1 commit into
masterfrom
cursor/rust-cli-rewrite-603a
Aug 23, 2026
Merged

Rewrite amendable-cli in Rust#1
fangpenlin merged 1 commit into
masterfrom
cursor/rust-cli-rewrite-603a

Conversation

@fangpenlin

Copy link
Copy Markdown
Contributor

The CLI is now a Rust binary named amendable, with the same command surface as the Python prototype that lived in amendable-docs.

Commands

  • login / logout / whoami / usage
  • git-credential (Git helper: action is get / store / erase on argv)
  • oidc-exchange
  • repo list, create, get, url, clone, delete
  • token list, create, delete
  • webhook list, create, ping, deliveries, delete

Config is still ~/.config/amendable/config.toml (mode 0600). Production is the default. --staging and AMENDABLE_* env vars work as before.

Install

cargo install --git https://github.com/LaunchPlatform/amendable-cli --locked

Tests

cargo test drives the binary against a mock API (login poll, repos, tokens, webhooks, OIDC, git-credential, missing token). cargo fmt --check and cargo clippy --all-targets -- -D warnings are clean.

Docs updates that point at this repo are in the companion amendable-docs PR.

Open in Web Open in Cursor 

Move the command-line client into its own crate. The binary is still
`amendable` and keeps the same commands, config file, and staging
overrides as the Python prototype that lived in amendable-docs.

Co-authored-by: fangpen <fangpen@launchplatform.com>
@fangpenlin
fangpenlin marked this pull request as ready for review August 23, 2026 05:56
@fangpenlin
fangpenlin merged commit ac7a50b into master Aug 23, 2026
1 check passed
@fangpenlin
fangpenlin deleted the cursor/rust-cli-rewrite-603a branch August 23, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants